<div id="accordion">
	<?php $i=1;foreach (Config::$ACCORDION_ITEMS as $h3=>$group) {	?>
	<div>
		<h3><a href="#"><?php echo $i?>. <?php echo $h3?></a></h3>
		<div>
			<ul>
			<?php $j=1;foreach ($group as $link=>$label) {	?>
				<li><a <?php echo Common::get_current_link()==$link?"id='current'":""?> href='<?php echo $link?>'><?php echo $i?>.<?php echo $j?>. <?php echo $label?></a></li>
			<?php $j++;}?>
			</ul>
		</div>
	</div> 
	<?php $i++; }?>
</div>
<li class="ico ui-state-default ui-corner-all" id='collapse-accordion'> 
	<span class="ui-icon <?php echo $_COOKIE['collapseAccordion']=='hide'?'ui-icon-triangle-1-e':'ui-icon-triangle-1-w';?>"></span>
</li> 